package rmaqlc31.basic;

public class J10_Ex72_OOP_V2 {

	public static void main(String[] args) {
		

	}

}

class Retangle{
	double width, height;
	String color;
	public Retangle() {
		width = 1.0;
		height = 1.0;
		color = "white";
	}
	public Retangle(double width, double height,String color) {
		this.width = width;
		this.height = height;
		this.color = color;
	}
	double getArea() {
		double area = width*height;
		return area;
	}
	double getCircum(){
		double circum = (width+height)*2;
		return circum;
	}
}

